package tree.operators;

public class MinusOp extends Op {

	public MinusOp()
	{
		this.arity = 2;		
	}	
	
	@Override
	public double evaluate(double inputValue, double[] args) {
		return args[0] - args[1];
	}

	@Override
	public String toString() {
		return "-";
	}

}
